#include "stdio.h"

void main (void)
{
  int i,c1,c2;
  FILE *f;

  for (i = 0;i < 20;i++) {
    c1 = 15;
    if (c1 < 17)

    c2 = c1 + 5;
    if (c2 > c1) {
      c2 = 10;
      c1 = 5;
      c2 = c1 * 5 - c1 / 5;
      c2 + 1;
    }
  }

  f = fopen ("cond.out","w");
  for (i = 0;i < 20;i++) {
    c1 = 15;
    if (c1 < 17)
      printf ("hello");

    c2 = c1 + 5;
    if (c2 > c1) {
      fprintf (f," world\n");
      c2 = 10;
      c1 = 5;
      c2 = c1 * 5 - c1 / 5;
      c2 + 1;
    }
  }
  fclose(f);
  exit(0);
}
